<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SyndicationFeed>" %>
<%@ Import Namespace="System.ServiceModel.Syndication" %>
<%@ Import Namespace="System.Collections.Generic" %>
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <channel xmlns:cfi="http://www.microsoft.com/schemas/rss/core/2005/internal" cfi:lastdownloaderror="None">
        <title cf:type="text"> MySilverlightTV Feed</title>
        <link>http://blogs.msdn.com/brada/default.aspx</link>
        <description cf:type="text">Check out the latest videos from MySilverlightTV</description>
        <dc:language>en-US</dc:language>
        <generator>MVC RSS</generator>
        <% foreach (SyndicationItem item in Model.Items) { %>
            <item>
                <title xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" cf:type="text"><%= item.Title %></title>
                <link><%= item.Links[0] %></link>
                <pubDate><%= DateTime.Now.ToFileTimeUtc() %></pubDate>
                <author><%= item.Authors[0]%></author>
                <description xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" cf:type="html"><%= item.Summary %></description>
            </item>
        <% } %>
    </channel>
</rss>